﻿@using ElCharro01.Helpers;
@model IEnumerable<ElCharro01.Models.Product>
@{
    ViewBag.Title = "CategorySlideShow";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="grid_10">
    <div id="slider" class="nivoSlider">
        @foreach (var item in Model)
        {
            if (item.Variant.Count() >= 1)
            {
                @Html.ImageActionLink("/Content/Images/Raw/" + @item.Variant.First().Image.First().Path, @item.Nome, "Details", "Variant", new { id = item.Variant.First().ID }, new { }, new { style = "width: 780px; height: 780px" })
            
            }
        }
    </div>
</div>
